package cn.com.qtgl.tenant.api.impl;

import cn.com.qtgl.tenant.api.TenantInitStep;
import cn.com.qtgl.tenant.model.entity.TenantInfo;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.stereotype.Service;

@Service
@ConditionalOnProperty(value = "modules.tenant_info.init",havingValue = "default",matchIfMissing = true)
public class DefaultTenantInitStep implements TenantInitStep {
    @Override
    public String step(TenantInfo tenantInfo, Integer step) {
        return "default";
    }

    @Override
    public String start(TenantInfo tenantInfo) {
        return "default";
    }

    @Override
    public String done(TenantInfo tenantInfo) {
        return "default";
    }

    @Override
    public String error(TenantInfo tenantInfo) {
        return "default";
    }
}
